import * as mongoose from 'mongoose';
import config from 'src/config/config';
export const ShopSettingSchema = new mongoose.Schema(
    {
        site_title: { type: String },
        site_logo: { type: String },
        site_keywords: {
            type: String,
        },
        site_description: {
            type: String,
        },
        no_picture: {
            type: String,
        },
        site_icp: {
            type: String,
        },
        site_tel: {
            type: String,
        },
        search_keywords: {
            type: String,
        },
        tongji_code: {
            type: String,
        },
        main_cate_list: {
            type: [mongoose.Types.ObjectId],
        },
        bombing_phone: {
            type: mongoose.SchemaTypes.Mixed,
        },
    },
    config.SchemaOptions,
);

//后期有新增的字段还需要接口里面配置
